using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;

public struct MoveDataTag : IComponentData
{
    public float3 Direction;      // 移动方向：归一化的向量，指向目标
    public float DistanceToTarget; // 到目标的距离：实时计算的欧几里得距离
    public bool IsMoving;         // 是否正在移动：用于状态判断和动画控制
}
